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

Lines 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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy