14
0
Files
python-proto-plus/pytest-staticmethod.patch
Matej Cepl eb958ba871 Accepting request 973990 from home:mcepl:branches:devel:languages:python
- Update to 1.20.3:
  - additional logic to mitigate collisions with reserved terms
  - dir(proto.Message) does not raise
  - mitigate collisions in field names
  - add custom dir for messages and message classes
  - workaround for buggy pytest
- Add pytest-staticmethod.patch which works around Pytest bug
  gh#pytest-dev/pytest#9637.

OBS-URL: https://build.opensuse.org/request/show/973990
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-proto-plus?expand=0&rev=10
2022-04-29 21:59:52 +00:00

15 lines
296 B
Diff

---
proto/_file_info.py | 1 -
1 file changed, 1 deletion(-)
--- a/proto/_file_info.py
+++ b/proto/_file_info.py
@@ -51,7 +51,6 @@ class _FileInfo(
return descriptor
- @staticmethod
def proto_file_name(name):
return "{0}.proto".format(name.replace(".", "/"))