Skip to content

Commit 850abe7

Browse files
author
Takashi Matsuo
committed
print debuggin
1 parent 9804c20 commit 850abe7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

noxfile-template.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@
6565
# Update the TEST_CONFIG with the user supplied values.
6666
TEST_CONFIG.update(TEST_CONFIG_OVERRIDE)
6767

68+
# Good old print debug
69+
import pprint
70+
pp = pprint.PrettyPrinter(indent=4)
71+
print("TEST_CONFIG:")
72+
pp.pprint(TEST_CONFIG)
6873

6974
def get_pytest_env_vars():
7075
"""Returns a dict for pytest invocation."""
@@ -78,6 +83,8 @@ def get_pytest_env_vars():
7883

7984
# Apply user supplied envs.
8085
ret.update(TEST_CONFIG['envs'])
86+
print("pytest_env_vars:")
87+
pp.pprint(ret)
8188
return ret
8289

8390

0 commit comments

Comments
 (0)