Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b7a3d8c

Browse filesBrowse files
committed
Start on top-level module attribute access regression tests
1 parent 61273aa commit b7a3d8c
Copy full SHA for b7a3d8c

File tree

1 file changed

+10
-0
lines changed
Filter options

1 file changed

+10
-0
lines changed

‎test/deprecation/test_attributes.py

Copy file name to clipboard
+10Lines changed: 10 additions & 0 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.