Changeset 7c59035 for general


Ignore:
Timestamp:
10/09/2024 05:03:55 PM (11 hours ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
trunk
Children:
ca1dfde
Parents:
09cee8b
git-author:
Xi Ruoyao <xry111@…> (10/09/2024 05:03:09 PM)
git-committer:
Xi Ruoyao <xry111@…> (10/09/2024 05:03:55 PM)
Message:

setuptools_scm: Set TZ=UTC for pytest

Without it one test does not work when the local time and the UTC time
are on a different day.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/python-dependencies/setuptools_scm.xml

    r09cee8b r7c59035  
    106106<screen remap="test"><userinput>python3 -m venv --system-site-packages testenv &amp;&amp;
    107107testenv/bin/pip3 install build                 &amp;&amp;
    108 HOME= testenv/bin/python -m pytest</userinput></screen>
     108TZ=UTC HOME= testenv/bin/python -m pytest</userinput></screen>
    109109
    110110    <para>
Note: See TracChangeset for help on using the changeset viewer.