We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1668630 commit 77af2d7Copy full SHA for 77af2d7
tests/debug_statement_hook_test.py
@@ -33,16 +33,16 @@ def test_finds_breakpoint():
33
34
35
def test_allow(tmpdir):
36
- f_py = tmpdir.join("f.py")
37
- f_py.write("import q")
38
- ret = main([str(f_py), "--allow", "q"])
+ f_py = tmpdir.join('f.py')
+ f_py.write('import q')
+ ret = main([str(f_py), '--allow', 'q'])
39
assert ret == 0
40
41
42
def test_forbid(tmpdir):
43
44
- f_py.write("import foo")
45
- ret = main([str(f_py), "--forbid", "foo"])
+ f_py.write('import foo')
+ ret = main([str(f_py), '--forbid', 'foo'])
46
assert ret == 1
47
48
0 commit comments