1"""
2categories: Modules,os
3description: ``getenv`` only allows one argument
4cause: Unknown
5workaround: Test that the return value is ``None``
6"""
7import os
8
9try:
10    print(os.getenv("NEW_VARIABLE", "DEFAULT"))
11except TypeError:
12    print("should not get here")
13    # this assumes NEW_VARIABLE is never an empty variable
14    print(os.getenv("NEW_VARIABLE") or "DEFAULT")
15