mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
minor test fixes (#1086)
This commit is contained in:
parent
cb2d217f79
commit
b83be58ab4
2 changed files with 2 additions and 2 deletions
|
|
@ -212,7 +212,7 @@ def test_error_in_condition(pyfile, run_as, start_method, error_name):
|
|||
session.wait_for_exit()
|
||||
assert session.get_stdout_as_string() == b''
|
||||
if error_name == 'NameError':
|
||||
assert session.get_stderr_as_string() == b''
|
||||
assert session.get_stderr_as_string().find(b'NameError') == -1
|
||||
else:
|
||||
assert session.get_stderr_as_string().find(b'ArithmeticError') > 0
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ settings.configure(
|
|||
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
||||
'APP_DIRS': True,
|
||||
'DIRS': [
|
||||
'templates/'
|
||||
os.path.join(os.path.dirname(__file__), 'templates'),
|
||||
]
|
||||
},
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue