Skip to content

Commit

Permalink
Replace module names with ellipses as workaround for failing tests du…
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Jan 25, 2021
1 parent 61d3bed commit 27d119d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion jaraco/classes/meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,10 @@ class TagRegistered(type):
True
>>> len(FooObject._registry)
2
'...' below should be 'jaraco.classes' but for pytest-dev/pytest#3396
>>> FooObject._registry['bar']
<class 'jaraco.classes.meta.Barobject'>
<class '....meta.Barobject'>
"""

attr_name = 'tag'
Expand Down
4 changes: 3 additions & 1 deletion jaraco/classes/properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ class NonDataProperty:
>>> x.foo = 4
>>> x.foo
4
'...' below should be 'jaraco.classes' but for pytest-dev/pytest#3396
>>> X.foo
<jaraco.classes.properties.NonDataProperty object at ...>
<....properties.NonDataProperty object at ...>
"""

def __init__(self, fget):
Expand Down

0 comments on commit 27d119d

Please sign in to comment.