diff --git a/package_name/__init__.py b/package_name/__init__.py index 9bef89f..afddfe6 100644 --- a/package_name/__init__.py +++ b/package_name/__init__.py @@ -1,2 +1,2 @@ -def a_function_that_will_break(): +def function_that_will_break(): assert False diff --git a/tests/test_package.py b/tests/test_package.py index 9bdfa57..e662847 100644 --- a/tests/test_package.py +++ b/tests/test_package.py @@ -2,7 +2,7 @@ def test_package_import(): import package_name # noqa: F401 -def test_failure(): - from package_name import a_function_that_will_break +def test_function_that_will_break(): + from package_name import function_that_will_break - a_function_that_will_break() + function_that_will_break()