Skip to content

Commit b7a3d8c

Browse files
committed
Start on top-level module attribute access regression tests
1 parent 61273aa commit b7a3d8c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

test/deprecation/test_attributes.py

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
"""Tests for dynamic and static attribute errors."""
2+
3+
import pytest
4+
5+
import git
6+
7+
8+
def test_no_attribute() -> None:
9+
with pytest.raises(AttributeError):
10+
git.foo

0 commit comments

Comments
 (0)