From 043c352fba69719ee5acad2e0d3acf0eea29bcf4 Mon Sep 17 00:00:00 2001 From: Arona Date: Wed, 27 May 2020 18:35:40 -0400 Subject: [PATCH] Rip out some more useless stuff --- .travis.yml | 3 --- PyRIGS/tests/regions.py | 5 +++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 486d7fa1..8f9da399 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,9 +7,6 @@ addons: chrome: stable before_install: - - export TZ=Europe/London - - export LANG=en_GB.UTF-8 - - export LC_ALL=en_GB.UTF-8 - export LANGUAGE=en_GB.UTF-8 install: diff --git a/PyRIGS/tests/regions.py b/PyRIGS/tests/regions.py index 9fcb9f81..a4ac9253 100644 --- a/PyRIGS/tests/regions.py +++ b/PyRIGS/tests/regions.py @@ -8,6 +8,7 @@ from selenium.webdriver.support.select import Select from selenium.webdriver.common.keys import Keys import datetime + def parse_bool_from_string(string): # Used to convert from attribute strings to boolean values, written after I found this: # >>> bool("false") @@ -23,8 +24,8 @@ def parse_bool_from_string(string): def get_time_format(): # Default time_format = "%H:%M" - # If system is 12hr FIXME Hack on the CI... - if timezone.now().strftime("%p") or os.environ.get('CI', False): + # If system is 12hr + if timezone.now().strftime("%p"): time_format = "%I:%M %p" return time_format