public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gentoopm:master commit in: /
Date: Sun, 28 Oct 2012 15:24:55 +0000 (UTC)	[thread overview]
Message-ID: <1351437934.975fd2dde556125ce11bf08085ebd8d9187b8ff3.mgorny@gentoo> (raw)

commit:     975fd2dde556125ce11bf08085ebd8d9187b8ff3
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 28 15:25:34 2012 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Oct 28 15:25:34 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gentoopm.git;a=commit;h=975fd2dd

setup.py test: reload gentoopm to respect build-dir more.

---
 setup.py |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/setup.py b/setup.py
index ddb119d..00ff536 100755
--- a/setup.py
+++ b/setup.py
@@ -43,6 +43,12 @@ class TestCommand(Command):
 	def run(self):
 		sys.path.insert(0, self.build_lib)
 
+		try:
+			from imp import reload
+		except ImportError:
+			pass
+		reload(sys.modules['gentoopm'])
+
 		import unittest
 		import gentoopm.submodules, gentoopm.tests
 


             reply	other threads:[~2012-10-28 15:38 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-28 15:24 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-08-05 21:32 [gentoo-commits] proj/gentoopm:master commit in: / Michał Górny
2013-02-16 16:16 Michał Górny
2012-10-28 10:33 Michał Górny
2011-09-09 21:13 Michał Górny
2011-08-13 10:58 Michał Górny
2011-08-13 10:58 Michał Górny
2011-08-13 10:57 [gentoo-commits] proj/gentoopm:gentoopm-0.2 " Michał Górny
2011-08-13 10:58 ` [gentoo-commits] proj/gentoopm:master " Michał Górny
2011-08-13 10:31 Michał Górny
2011-07-22 13:16 Michał Górny
2011-07-14 14:36 Michał Górny
2011-07-13 16:26 Michał Górny
2011-07-11  9:40 Michał Górny
2011-07-10 12:34 Michał Górny
2011-07-07 19:55 Michał Górny
2011-07-06 22:04 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1351437934.975fd2dde556125ce11bf08085ebd8d9187b8ff3.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox