@@ -127,11 +127,12 @@ def test_run(self):
127127class TestRunI (unittest .TestCase ):
128128
129129 def test_run (self ):
130- with self .assertRaises (ValueError ): coderunner .code (
131- "Hello World" ,
132- "PHP" ,
133- "Hello World" ,
134- path = False
130+ with self .assertRaises (ValueError ):
131+ coderunner .code (
132+ "Hello World" ,
133+ "PHP" ,
134+ "Hello World" ,
135+ path = False
135136 )
136137
137138
@@ -141,10 +142,11 @@ def test_run(self):
141142class TestRunJ (unittest .TestCase ):
142143
143144 def test_run (self ):
144- with self .assertRaises (OSError ): coderunner .code (
145- "Hello World" ,
146- "C++" ,
147- "Hello World"
145+ with self .assertRaises (OSError ):
146+ coderunner .code (
147+ "Hello World" ,
148+ "C++" ,
149+ "Hello World"
148150 )
149151
150152
@@ -154,10 +156,11 @@ def test_run(self):
154156class TestRunK (unittest .TestCase ):
155157
156158 def test_run (self ):
157- with self .assertRaises (OSError ): coderunner .code (
158- "testfiles/" + "test_c++.cpp" ,
159- "C++" ,
160- "Hello World"
159+ with self .assertRaises (OSError ):
160+ coderunner .code (
161+ "testfiles/" + "test_c++.cpp" ,
162+ "C++" ,
163+ "Hello World"
161164 )
162165
163166
@@ -167,11 +170,12 @@ def test_run(self):
167170class TestRunL (unittest .TestCase ):
168171
169172 def test_run (self ):
170- with self .assertRaises (OSError ): coderunner .code (
171- "testfiles/" + "test_c++.cpp" ,
172- "C++" ,
173- "testfiles/output/" + "output4.txt" ,
174- "my_input"
173+ with self .assertRaises (OSError ):
174+ coderunner .code (
175+ "testfiles/" + "test_c++.cpp" ,
176+ "C++" ,
177+ "testfiles/output/" + "output4.txt" ,
178+ "my_input"
175179 )
176180
177181
0 commit comments