diff options
Diffstat (limited to 'third_party/python/pytest/testing/freeze/tests')
-rw-r--r-- | third_party/python/pytest/testing/freeze/tests/test_doctest.txt | 6 | ||||
-rw-r--r-- | third_party/python/pytest/testing/freeze/tests/test_trivial.py | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/third_party/python/pytest/testing/freeze/tests/test_doctest.txt b/third_party/python/pytest/testing/freeze/tests/test_doctest.txt new file mode 100644 index 0000000000..e18a4b68cc --- /dev/null +++ b/third_party/python/pytest/testing/freeze/tests/test_doctest.txt @@ -0,0 +1,6 @@ + + +Testing doctest:: + + >>> 1 + 1 + 2 diff --git a/third_party/python/pytest/testing/freeze/tests/test_trivial.py b/third_party/python/pytest/testing/freeze/tests/test_trivial.py new file mode 100644 index 0000000000..08a55552ab --- /dev/null +++ b/third_party/python/pytest/testing/freeze/tests/test_trivial.py @@ -0,0 +1,6 @@ +def test_upper(): + assert "foo".upper() == "FOO" + + +def test_lower(): + assert "FOO".lower() == "foo" |