Replace whole repo with latest content from branch stream-2019.3-rhel-8.8.0
Content corresponds with RHEL dist-git commit 6855d88
This commit is contained in:
parent
72bc571826
commit
724f40946b
@ -1 +0,0 @@
|
|||||||
1
|
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1 @@
|
|||||||
SOURCES/pytz-2019.3.tar.gz
|
|
||||||
/pytz-2019.3.tar.gz
|
/pytz-2019.3.tar.gz
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
--- !Policy
|
|
||||||
product_versions:
|
|
||||||
- rhel-9
|
|
||||||
decision_context: osci_compose_gate
|
|
||||||
rules:
|
|
||||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
|
@ -1,16 +0,0 @@
|
|||||||
--- a/pytz/tests/test_tzinfo.py~ 2019-07-26 08:38:47.000000000 -0500
|
|
||||||
+++ b/pytz/tests/test_tzinfo.py 2019-07-26 08:40:12.751754602 -0500
|
|
||||||
@@ -184,8 +184,11 @@
|
|
||||||
# Python 3 introduced a new pickle protocol where numbers are stored in
|
|
||||||
# hexadecimal representation. Here we extract the pickle
|
|
||||||
# representation of the number for the current Python version.
|
|
||||||
- old_pickle_pattern = pickle.dumps(tz._utcoffset.seconds)[3:-1]
|
|
||||||
- new_pickle_pattern = pickle.dumps(new_utcoffset)[3:-1]
|
|
||||||
+ #
|
|
||||||
+ # Test protocol 3 on Python 3 and protocol 0 on Python 2.
|
|
||||||
+ protocol = (3 if sys.version_info >= (3,) else 0)
|
|
||||||
+ old_pickle_pattern = pickle.dumps(tz._utcoffset.seconds, protocol)[3:-1]
|
|
||||||
+ new_pickle_pattern = pickle.dumps(new_utcoffset, protocol)[3:-1]
|
|
||||||
hacked_p = p.replace(old_pickle_pattern, new_pickle_pattern)
|
|
||||||
|
|
||||||
self.assertNotEqual(p, hacked_p)
|
|
@ -1,5 +0,0 @@
|
|||||||
test: python3 -c 'import pytz; assert str(pytz.utc.zone) == "UTC"'
|
|
||||||
framework: shell
|
|
||||||
require:
|
|
||||||
- python3-pytz
|
|
||||||
- python3
|
|
Loading…
Reference in New Issue
Block a user