Skip to content

Commit

Permalink
Merge 84e98ab into f98c5ff
Browse files Browse the repository at this point in the history
  • Loading branch information
shakefu committed Dec 2, 2023
2 parents f98c5ff + 84e98ab commit ec826b0
Show file tree
Hide file tree
Showing 10 changed files with 5 additions and 195 deletions.
190 changes: 0 additions & 190 deletions docs/make.bat

This file was deleted.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "pytool"
version = "3.16.2"
description = "Pytool is a collection of utilities and language enhancements for Python"
authors = ["Jacob Alheid <shakefu@gmail.com>"]
license = "ALv2"
license = "MIT"
readme = "README.md"

[tool.poetry.dependencies]
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions test/test_lang.py → tests/test_lang.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ def static():

def test_get_name():
frame = inspect.currentframe()
assert pytool.lang.get_name(frame) == "test.test_lang.test_get_name"
assert pytool.lang.get_name(frame) == "tests.test_lang.test_get_name"
del frame


def test_get_name_class():
class Test(object):
def test(self):
frame = inspect.currentframe()
assert pytool.lang.get_name(frame) == "test.test_lang.Test.test"
assert pytool.lang.get_name(frame) == "tests.test_lang.Test.test"
del frame

Test().test()
Expand All @@ -49,7 +49,7 @@ class Test(object):
@classmethod
def test(cls):
frame = inspect.currentframe()
assert pytool.lang.get_name(frame) == "test.test_lang.Test.test"
assert pytool.lang.get_name(frame) == "tests.test_lang.Test.test"
del frame

Test.test()
Expand All @@ -64,7 +64,7 @@ def test(self):
del frame
return this_name

assert Test().test == "test.test_lang.Test.test"
assert Test().test == "tests.test_lang.Test.test"


def test_classproperty():
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit ec826b0

Please sign in to comment.